// PJJ-Timer.cpp : main project file.

#include "stdafx.h"
#include "FormMain.h"

using namespace PJJTimer;
int language;

[STAThreadAttribute]
int main(array<System::String ^> ^args)
{
	// Enabling Windows XP visual effects before any controls are created
	Application::EnableVisualStyles();
	Application::SetCompatibleTextRenderingDefault(false); 

	try{
		// Create the main window and run it
		Application::Run(gcnew FormMain());
	}
	catch(System::SystemException^ e){
		TimerSettings::ErrorMessageBoxWithOkButton(e->Message,L"Error Caught!");
	}

	
	return 0;
}
